package com.whc.category.service;

import com.whc.category.domain.entity.Category;


import java.util.List;



public interface CategoryService {
    List<Category> selectAll();

    Category selectOne(long id);

    void update(Category category);

    void delete(long id);

    void add(String categoryName);
}
